---
title: Configure Next.js site
excerpt: Configure on-demand Revalidation for a Next.js site
weight: 305
group: On-demand Revalidation
---

Vist your Next.js site configuration page on Drupal to configure on-demand revalidation.

1. Visit `/admin/config/services/next`.
2. Click **Edit** next to your site.
3. Click **On-demand Revalidation**.
4. Fill in the following values:

- **Revalidate URL**: `http://localhost:3000/api/revalidate`
- **Revalidate secret**: `secret`

5. Click **Save**
